<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'callList.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
  <jsp:include page="header.jsp"></jsp:include>
  <div style="width: 800px;margin: 0 auto;">
  	<div style="height: 30px;width: 100%;border-style: solid;border-width: 1px;margin-bottom: 2px;">当前位置</div>
  	<div style="width: 550px; float: left;border-style: solid;border-width: 1px;">
  <!-- 详细信息 -->
  	<div style="width: 550px">
  		<table width="100%">
  			<tr>
  				<th>呼叫类别</th>
  				<th>呼叫标题</th>
  				<th>登记时间</th>
  				<th>过期时间</th>
  				<th></th>
  				<th></th>
  			</tr>
  			<tr >
  				<td align="right">呼叫类别:</td><td align="left">${callInfo.callSort.callSortName}</td>
  				<td rowspan="6">
  					<table>
			  			<tr><td><img src="css/img/link.gif" border="0px" onclick="javascript:OpenDiv(400,150,'dddd')" onmouseover="link()" onmouseout="link()"/>
			  			  <div id="Loading" style="display:none;position:absolute;Z-index:auto;
			  			   border-style:solid; border-width:0px;background-color:#CAEBFF" 
			  			   ondblclick="this.style.display='none'">
			  			</td></tr>
			  			<tr><td>&nbsp;</td></tr>
			  			<tr><td>
			  			<s:if test="#session['userInfo']==null">
			  				<img src="css/img/collection1.gif"/>
			  			</s:if>
			  			<s:else>
			  				<s:form name="coll" action="Comm_addColl" namespace="/gongxu">
			  					<s:hidden name="coll.callInfo.callId" value="%{callInfo.callId}"></s:hidden>
			  				</s:form>
			  				<img src="css/img/collection.gif" border="0px" onclick="checkCall(<s:property value="callInfo.callId"/>)"/>
			  			</s:else>	
			  			</td></tr>
			  		</table>
  				</td>
  			</tr>
  			<tr>
  				<td align="right">呼叫名称:</td><td align="left">${callInfo.callName}</td>
  			</tr>
  			<tr>
  				<td align="right">登记时间:</td><td align="left"><s:date name="callInfo.logTime" format="yyyy:MM:dd HH:mm:ss"/></td>
  			</tr>
  			<tr>
  				<td align="right">到期时间:</td><td align="left"><s:date name="callInfo.dueTime" format="yyyy:MM:dd"/> </td>
  			</tr>
  			<tr>
  				<td align="right">状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态:</td><td align="left">
				<s:if test="callInfo.state==0">
					进行中
				</s:if>
				<s:elseif test="callInfo.state==1">
					已关闭
				</s:elseif>
				</td>
  			</tr>
  			<tr>
  				<td align="right">点&nbsp;&nbsp;击&nbsp;&nbsp;数:</td><td align="left">${callInfo.onclick}</td>
  			</tr>
  			<tr>
  				<td colspan="2">呼叫描述</td>
  			</tr>
  			<tr>
  				<td colspan="3">
  				<div style="width: 100%;border-style: solid;border-width: 1px;">
  					${callInfo.callDis}
  				</div>	
  				</td>
  			</tr>
  		</table>
  		
  	</div>
  	</div>
  	<div style="width: 248px;float:right;border-style: solid;height: 100%;border-width: 1px;">广告</div>
  </div>	
  <jsp:include page="bottom.jsp"></jsp:include>
  </body>
</html>
